package com.itheima.reggie.test;

import com.itheima.reggie.common.SmsTemplate;
import lombok.extern.slf4j.Slf4j;
import net.bytebuddy.asm.Advice;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import java.io.FileNotFoundException;
@SpringBootTest
@Slf4j
public class smstest {
    @Autowired
    private SmsTemplate smsTemplate;
    @Test
    public void testsms(){
        smsTemplate.sendSms("17601294603","122222");
        System.out.println("测试连接");
    }
}
